de.ueberdosis.mp3info.id3v2
Class ID3V2Writer

java.lang.Object
  |
  +--de.ueberdosis.mp3info.id3v2.ID3V2Writer
All Implemented Interfaces:
Defines

public class ID3V2Writer
extends java.lang.Object
implements Defines

The API for writing an ID3V2 tag to a file. Currently there is only the option to update a tag. You cannot write a tag to a file that has none. Additionally there is no way to resize a tag. I.e.: if the file already has a tag that is 2 K (with padding) and you want to write a tag that is 3 k, it will fail.


Field Summary
 
Fields inherited from interface de.ueberdosis.mp3info.Defines
DEFAULT_ENCODING, ID3V2_FOOTER_SIZE, ID3V2_FRAME_HEADER_SIZE, ID3V2_HEADER_SIZE, ID3V2_X_HEADER_SIZE, MP3_FRAME_HEADER_SIZE, SUPPORTED_NUMBER_OF_EXTENDED_FLAG_BYTES, testPositions, VERSION
 
Constructor Summary
ID3V2Writer()
           
 
Method Summary
static void writeTag(java.io.File f, de.ueberdosis.mp3info.id3v2.ID3V2Tag tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ID3V2Writer

public ID3V2Writer()
Method Detail

writeTag

public static void writeTag(java.io.File f,
                            de.ueberdosis.mp3info.id3v2.ID3V2Tag tag)
                     throws java.io.IOException
java.io.IOException